//
// RS Game Framework
// Copyright © 2009 Jedd Haberstro
// jhaberstro@gmail.com
// 
// $Id:
//

#ifndef RS_UNITTEST_TESTFAILURE_HPP
#define RS_UNITTEST_TESTFAILURE_HPP

#include "rs/Portability.hpp"

namespace rs
{
    namespace unittest
    {
        struct TestFailure
        {
            TestFailure() : owner(0), file(0), line(0), condition(0), message(0) {
            }
            
            TestFailure(TestCase const* owner, Char8 const* file, RsSize line, Char8 const* condition, Char8 const* message)
            : owner(owner),
              file(file),
              line(line),
              condition(condition),
              message(message) {      
            }
                        
            TestCase const* owner;
            Char8 const* file;
            RsSize line;
            Char8 const* condition;
            Char8 const* message;
        };
    }
}

#endif // RS_UNITTEST_TESTFAILURE_HPP
